import difflib
import os
import random
import re
import traceback
from functools import lru_cache

import zhconv
from lxml import etree


class Media:
    # TheMovieDB
    tmdb = None
    search = None
    movie = None
    tv = None
    episode = None
    person = None
    find = None
    trending = None
    discover = None
    genre = None
    meta = None
    openai = None
    _rmt_match_mode = None
    _search_keyword = None
    _search_tmdbweb = None
    _chatgpt_enable = None
    _default_language = None
    _tmdb_include_adult = None
